Hack until we have time to write an autoconf check