Rotational spectroscopy of imidazole: improved rest frequencies for astrophysical searches