Use LooseVersion for checking cython version (issue 298)