hackish fixing of project files to make them build on os x with homebrew