remove build_static call