Fixed Linux code after windows additions