Fix for @import ifstream directory issue