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

CXX must be set before loading the compiler in order to have an effect
Merge pull request #40 from mherb/bugfix-darwin-clang

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