Improve Cython check (fixes #62)

This checks that we have recent enough Cython by trying to compile code that we
need.