Inlined bases_match and base_complement and changed the C standard to C99