Fixed link error on MinGW and MSYS

Added a library (gomp) to link in a CMakeLists.txt to build successfully with MinGW.