Fix build settings for unit test target that cause failures in Xcode 6