header changes and fix less compiler config