The Brooklyn Navy Yard Development Corp. has received a $42 million financing package to renovate one of its buildings.