fix custom hdrfiles paths and add support for explicit language declaration