Add generic rules for building helpers with HOSTCC