Fixes linker errors in Xcode