Use SWI_HOME_DIR when available to find SWI-Prolog installation.
Verify that an installation was found.
Don't uses -std flag on msvc.