Compile, link, run under windows but crashes on init.