Only define BOOST_COMPILE if not already done (as it is already the case for g++ and ms).
Usfull when called through nvcc.
fixes #10420
Merge pull request #38 from aminiussi/cudaintel

Only define BOOST_COMPILER if not already done
Disable C++11 headers in non-C++11 mode.