--- OpenShadingLanguage-Release-1.7.4/CMakeLists.txt.orig	2016-10-09 22:50:19.369197900 +0300
+++ OpenShadingLanguage-Release-1.7.4/CMakeLists.txt	2016-10-09 22:50:44.078611200 +0300
@@ -344,7 +344,7 @@
 set (DEFAULT_BIN_INSTALL_DIR   "bin")
 set (DEFAULT_LIB_INSTALL_DIR   "lib")
 set (DEFAULT_INCLUDE_INSTALL_DIR "include/OSL")
-if (UNIX AND NOT SELF_CONTAINED_INSTALL_TREE)
+if ((UNIX OR MINGW) AND NOT SELF_CONTAINED_INSTALL_TREE)
     # Try to be well-behaved and install into reasonable places according to
     # the "standard" unix directory heirarchy
     # TODO: Figure out how to get the correct python directory
