fixed compilation without CUBLAS and CUFFT
Merge pull request #1146 from jet47:fix-gpu-without-cufft-cublas