fix compilation warning

  Compilation warning:
  objectscript.cpp:11983:23: warning: passing NULL to non-pointer
  argument 1 ...
proj.win32/os module adapted for Linux
proj.win32/os module adapted for CMake
Merge pull request #20 from igor-bogomolov/master

proj.win32/os module adapted for Linux and CMake