GMT6 run-time error on Cygwin

Some more info:
The symlink worked, but only from the present working directory.
Otherwise the following error is produced (no path in file name):

gmt [ERROR]: Failure while loading core GMT shared library (libgmt.dll): No such file or directory.

Should I set a variable called GMT_CORE_LIB_NAME before building?

Carl Fredrik