Fixed the header search paths.
Created a build script for building outside of Xcode.