[installer] [host] fix function to not be referred to as static in cpp as we do not want inline!