Issue #488:
- Fix straightenmesh issues (broken compilation)