Adjust compiler flags to support more platforms.
Remove some references to boost.
CUDA 6.0RC Temporary commit. This commit should be reverted once the CUDA compiler bug which results in 'internal error: assertion failed: gen_initializer_constant: ran out of fields' is fixed.
Prefer native CUDA types over Mat struct.