Adding static define to object library.  Object library cannot be used with shared library since the export and static define isn't setup proper