case insensitive path check for includes
remove spaces when resolving macros