Add flags to compile statically