compiling static