add a flag to build everything statically