Secured the system call function. Windows fixes.