Compiling static executables