When using `-mwindows`, `WinMain` is used as entry point instead of `main`. Find a way to make `OFApplication` compatibile with that.