add -static option to linker