Merge pull request #783 from sbutcher-arm/1.3-curves.pl-fix

Fix curves.pl script to build