Improve generation of executables