Fix #1822: Will compile or issue correct error message when wrong case is used...

in filename on @import statements

This will fix issue #1822