fixes for compilation under os x
fixes for compilation under os x

cnbin/sqlcipher,Mozhuowen/sqlcipher,bestofsong/sqlcipher,bestofsong/sqlcipher,supriyantomaftuh/sqlcipher,shanshan1026/sqlcipher,ylfonline/sqlcipher,supriyantomaftuh/sqlcipher,ylfonline/sqlcipher,emodeqidao/sqlcipher,luis-allan/sqlcipher,shanshan1026/sqlcipher,RAN-II/sqlcipher,pandazheng/sqlcipher,supriyantomaftuh/sqlcipher,RAN-II/sqlcipher,shanshan1026/sqlcipher,bestofsong/sqlcipher,emodeqidao/sqlcipher,Mozhuowen/sqlcipher,cnbin/sqlcipher,hongbinz/sqlcipher,luis-allan/sqlcipher,RAN-II/sqlcipher,luis-allan/sqlcipher,hongbinz/sqlcipher,ylfonline/sqlcipher,pandazheng/sqlcipher,shanshan1026/sqlcipher,hongbinz/sqlcipher,emodeqidao/sqlcipher,Mozhuowen/sqlcipher,pandazheng/sqlcipher,cnbin/sqlcipher