fixing compile errors from build bot