Switches to static build.