Remove linking against libz in the library, fixes build errors in Xcode 6
Remove -all_load linker flag in the library, fixes build errors in Xcode 6
Correctly return nil instead of NO