adding configuration file path to header comments in compiled files if possible, closes #938 and refs #932