Replace Cython's round with a VC2010 compatible version

Closes #867