I've installed the newes SWI Prolog for Windows and linked the /usr/bin/pl to the Windows Prolog. It seems to work on the command line, but I still get the above mentioned error message when I try to install the module.
I've even tried to install the module under Windows, but there I get the error message that one .h file could not be found.