Make GPU device name and BLAS header portable.