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