Fixed build for clan/macos.

- boost fails to build w/ gcc. A warning needs to be turned off.
- c and cxx params are being passed multiple times to gcc, and probably to
clang.