fixing xocde linking issue