Fix Mac build paths

The build is a little harder on Mac where dependencies are not installed in the default include and link paths.  These patches let the build work out-of-the-box on Mac when using the homebrew (http://brew.sh/) package manager.