Remove PLATFORM_SHARED_CFLAGS when compiling .o files
Remove PLATFORM_SHARED_CFLAGS when compiling .o files

Summary:

The flags is accidentally introduced, and resulted in problems in 3rd party release.

Test Plan:

run make in all platforms (when doing the 3rd party release)

lgscofield/rocksdb,siddhartharay007/rocksdb,vmx/rocksdb,makelivedotnet/rocksdb,wlqGit/rocksdb,Andymic/rocksdb,IMCG/RcoksDB,norton/rocksdb,mbarbon/rocksdb,zhangpng/rocksdb,fengshao0907/rocksdb,msb-at-yahoo/rocksdb,hobinyoon/rocksdb,ryneli/rocksdb,rDSN-Projects/rocksdb.replicated,geraldoandradee/rocksdb,Andymic/rocksdb,SunguckLee/RocksDB,JackLian/rocksdb,zhangpng/rocksdb,luckywhu/rocksdb,facebook/rocksdb,rDSN-Projects/rocksdb.replicated,JohnPJenkins/rocksdb,alihalabyah/rocksdb,mbarbon/rocksdb,RyanTech/rocksdb,bbiao/rocksdb,rDSN-Projects/rocksdb.replicated,luckywhu/rocksdb,mbarbon/rocksdb,temicai/rocksdb,jalexanderqed/rocksdb,norton/rocksdb,NickCis/rocksdb,kaschaeffer/rocksdb,Andymic/rocksdb,jalexanderqed/rocksdb,anagav/rocksdb,ryneli/rocksdb,skunkwerks/rocksdb,ylong/rocksdb,hobinyoon/rocksdb,Applied-Duality/rocksdb,tizzybec/rocksdb,fengshao0907/rocksdb,rDSN-Projects/rocksdb.replicated,Vaisman/rocksdb,skunkwerks/rocksdb,skunkwerks/rocksdb,JoeWoo/rocksdb,zhangpng/rocksdb,skunkwerks/rocksdb,vmx/rocksdb,wlqGit/rocksdb,dkorolev/rocksdb,ylong/rocksdb,alihalabyah/rocksdb,wenduo/rocksdb,fengshao0907/rocksdb,JoeWoo/rocksdb,msb-at-yahoo/rocksdb,tsheasha/rocksdb,norton/rocksdb,Andymic/rocksdb,virtdb/rocksdb,sorphi/rocksdb,tizzybec/rocksdb,wenduo/rocksdb,OverlordQ/rocksdb,biddyweb/rocksdb,tschottdorf/rocksdb,tsheasha/rocksdb,dkorolev/rocksdb,amyvmiwei/rocksdb,sorphi/rocksdb,tsheasha/rocksdb,ylong/rocksdb,luckywhu/rocksdb,OverlordQ/rocksdb,amyvmiwei/rocksdb,dkorolev/rocksdb,alihalabyah/rocksdb,wenduo/rocksdb,IMCG/RcoksDB,SunguckLee/RocksDB,vmx/rocksdb,vashstorm/rocksdb,SunguckLee/RocksDB,bbiao/rocksdb,vashstorm/rocksdb,biddyweb/rocksdb,wenduo/rocksdb,tsheasha/rocksdb,Vaisman/rocksdb,mbarbon/rocksdb,IMCG/RcoksDB,anagav/rocksdb,temicai/rocksdb,Applied-Duality/rocksdb,wskplho/rocksdb,hobinyoon/rocksdb,ryneli/rocksdb,NickCis/rocksdb,luckywhu/rocksdb,flabby/rocksdb,norton/rocksdb,Vaisman/rocksdb,caijieming-baidu/rocksdb,Applied-Duality/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,bbiao/rocksdb,makelivedotnet/rocksdb,vmx/rocksdb,NickCis/rocksdb,fengshao0907/rocksdb,JoeWoo/rocksdb,wat-ze-hex/rocksdb,facebook/rocksdb,wat-ze-hex/rocksdb,tschottdorf/rocksdb,JackLian/rocksdb,vmx/rocksdb,JackLian/rocksdb,tsheasha/rocksdb,ylong/rocksdb,wskplho/rocksdb,Applied-Duality/rocksdb,JohnPJenkins/rocksdb,caijieming-baidu/rocksdb,JohnPJenkins/rocksdb,flabby/rocksdb,makelivedotnet/rocksdb,Vaisman/rocksdb,wlqGit/rocksdb,wat-ze-hex/rocksdb,wat-ze-hex/rocksdb,Applied-Duality/rocksdb,JoeWoo/rocksdb,tschottdorf/rocksdb,zhangpng/rocksdb,siddhartharay007/rocksdb,alihalabyah/rocksdb,hobinyoon/rocksdb,dkorolev/rocksdb,sorphi/rocksdb,virtdb/rocksdb,tizzybec/rocksdb,caijieming-baidu/rocksdb,msb-at-yahoo/rocksdb,norton/rocksdb,caijieming-baidu/rocksdb,skunkwerks/rocksdb,sorphi/rocksdb,anagav/rocksdb,ylong/rocksdb,tschottdorf/rocksdb,NickCis/rocksdb,OverlordQ/rocksdb,makelivedotnet/rocksdb,wskplho/rocksdb,flabby/rocksdb,caijieming-baidu/rocksdb,IMCG/RcoksDB,ryneli/rocksdb,Applied-Duality/rocksdb,hobinyoon/rocksdb,SunguckLee/RocksDB,zhangpng/rocksdb,wat-ze-hex/rocksdb,zhangpng/rocksdb,OverlordQ/rocksdb,facebook/rocksdb,siddhartharay007/rocksdb,JohnPJenkins/rocksdb,ryneli/rocksdb,anagav/rocksdb,Vaisman/rocksdb,flabby/rocksdb,msb-at-yahoo/rocksdb,bbiao/rocksdb,SunguckLee/RocksDB,biddyweb/rocksdb,NickCis/rocksdb,caijieming-baidu/rocksdb,temicai/rocksdb,vmx/rocksdb,IMCG/RcoksDB,wlqGit/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,alihalabyah/rocksdb,temicai/rocksdb,biddyweb/rocksdb,wlqGit/rocksdb,wskplho/rocksdb,wat-ze-hex/rocksdb,wskplho/rocksdb,sorphi/rocksdb,tschottdorf/rocksdb,luckywhu/rocksdb,mbarbon/rocksdb,vashstorm/rocksdb,siddhartharay007/rocksdb,flabby/rocksdb,rDSN-Projects/rocksdb.replicated,vashstorm/rocksdb,wlqGit/rocksdb,Applied-Duality/rocksdb,virtdb/rocksdb,hobinyoon/rocksdb,bbiao/rocksdb,bbiao/rocksdb,norton/rocksdb,facebook/rocksdb,Andymic/rocksdb,Andymic/rocksdb,RyanTech/rocksdb,kaschaeffer/rocksdb,tschottdorf/rocksdb,JohnPJenkins/rocksdb,flabby/rocksdb,skunkwerks/rocksdb,RyanTech/rocksdb,fengshao0907/rocksdb,RyanTech/rocksdb,wskplho/rocksdb,kaschaeffer/rocksdb,geraldoandradee/rocksdb,amyvmiwei/rocksdb,vashstorm/rocksdb,wat-ze-hex/rocksdb,kaschaeffer/rocksdb,tizzybec/rocksdb,IMCG/RcoksDB,makelivedotnet/rocksdb,ylong/rocksdb,RyanTech/rocksdb,makelivedotnet/rocksdb,siddhartharay007/rocksdb,vmx/rocksdb,wenduo/rocksdb,wenduo/rocksdb,jalexanderqed/rocksdb,facebook/rocksdb,OverlordQ/rocksdb,kaschaeffer/rocksdb,virtdb/rocksdb,geraldoandradee/rocksdb,amyvmiwei/rocksdb,wenduo/rocksdb,jalexanderqed/rocksdb,amyvmiwei/rocksdb,luckywhu/rocksdb,hobinyoon/rocksdb,anagav/rocksdb,alihalabyah/rocksdb,mbarbon/rocksdb,biddyweb/rocksdb,JackLian/rocksdb,OverlordQ/rocksdb,rDSN-Projects/rocksdb.replicated,bbiao/rocksdb,biddyweb/rocksdb,geraldoandradee/rocksdb,geraldoandradee/rocksdb,biddyweb/rocksdb,facebook/rocksdb,NickCis/rocksdb,mbarbon/rocksdb,JackLian/rocksdb,JoeWoo/rocksdb,tsheasha/rocksdb,JohnPJenkins/rocksdb,msb-at-yahoo/rocksdb,amyvmiwei/rocksdb,Vaisman/rocksdb,facebook/rocksdb,jalexanderqed/rocksdb,temicai/rocksdb,wat-ze-hex/rocksdb,wskplho/rocksdb,zhangpng/rocksdb,flabby/rocksdb,amyvmiwei/rocksdb,jalexanderqed/rocksdb,rDSN-Projects/rocksdb.replicated,virtdb/rocksdb,norton/rocksdb,ryneli/rocksdb,RyanTech/rocksdb,norton/rocksdb,fengshao0907/rocksdb,temicai/rocksdb,temicai/rocksdb,sorphi/rocksdb,JackLian/rocksdb,anagav/rocksdb,hobinyoon/rocksdb,SunguckLee/RocksDB,vmx/rocksdb,jalexanderqed/rocksdb,skunkwerks/rocksdb,dkorolev/rocksdb,JohnPJenkins/rocksdb,wlqGit/rocksdb,JoeWoo/rocksdb,lgscofield/rocksdb,tizzybec/rocksdb,lgscofield/rocksdb,lgscofield/rocksdb,geraldoandradee/rocksdb,tsheasha/rocksdb,tizzybec/rocksdb,IMCG/RcoksDB,fengshao0907/rocksdb,virtdb/rocksdb,tizzybec/rocksdb,Vaisman/rocksdb,anagav/rocksdb,ryneli/rocksdb,Andymic/rocksdb,dkorolev/rocksdb,SunguckLee/RocksDB,ylong/rocksdb,makelivedotnet/rocksdb,geraldoandradee/rocksdb,lgscofield/rocksdb,vashstorm/rocksdb,luckywhu/rocksdb,NickCis/rocksdb,virtdb/rocksdb,siddhartharay007/rocksdb,sorphi/rocksdb,RyanTech/rocksdb,caijieming-baidu/rocksdb,bbiao/rocksdb,lgscofield/rocksdb,kaschaeffer/rocksdb,vashstorm/rocksdb,alihalabyah/rocksdb,facebook/rocksdb,JackLian/rocksdb,lgscofield/rocksdb,dkorolev/rocksdb,siddhartharay007/rocksdb,JoeWoo/rocksdb,wenduo/rocksdb,msb-at-yahoo/rocksdb,kaschaeffer/rocksdb