[installer] [host] add -static option to builds