Modifications to make make use libc++

This modifies a few cmake files to make sure that `EXTRA_COMPILE_FLAGS` is used and modifies `setup.py` to specify that `libc++` is used when building the python module on  a mac.