windows compile fix for new bezier curve feature