bugfix: added ifndef for windows compilation

+ some posix functions used in exec_cmd() may not be available on
  windows (and are not needed as there is no florence port for windows).