Add crosscheck support (fixes #22)