Unhandled builtin function

I’m trying to use OpenACC on a Fortran 90 program and am getting an unhandled builtin function error for ‘__pgi_dcosd’ during the compilation.

Very likely I don’t have the right compiler options. Can someone point me in the right direction?