Add criticalcurves files in the build process