Support creating OS X bundle when building in a build subdirectory.