Open input file in binary mode to avoid issues on Windows
Compile with -O2 rather than -g