fixed loading of linked module and lib directory into classpath