pass extra compile args from setup.py and set compiler env

I suspect cmake is smart enough to use the correct CXX compiler if CC is set to gcc.  Which would simplify this bit of code quite a lot.  Can you check this?