added compile command
fixed OS declarations for all files