Needed to make a lot of changes to get libHPC
compiling with nvcc.