Make the IOS library static.
Set __LIBOLSRD__ CFLAG if building library.
Add IOS_PLATFORM flag for Simulator and Device building support.