Fix usage of clang compiler on Mac OS X (Darwin)

CXX must be set before loading the compiler in order to have an effect.

Fixes #35