Merge pull request #772 from PolynomialDivision/fix-compile