Completed move to full out-of-source build and fixed build breakages on Mac with Unix Makefiles generator.