Reset default directory behavior as before Windows version

NOT DEFINED CMAKE_INSTALL_PREFIX is always false as this variable is set to a default value by cmake. CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT must be used instead.