disable static, instead of building and removing