CB2 approves Brooklyn Heights Library plan and Pier 6 affordable housing, but adds provisions