change mode for conf/etc/init.d/os-fcgi
fix compilation warning

  Compilation warning:
  objectscript.cpp:11983:23: warning: passing NULL to non-pointer
  argument 1 ...
CMakeFiles.txt has been changed

  * added check if a thread library exist
  * added execute permissions for conf/etc/init.d/os-fcgi
  * added check if a file configuration exist
os-fcgi daemon starts with www-data group