qfind_first_byte_of may suffer from global initialization order