Incorrect path resolution for compiled modules