Updated compiler to copy any libs in modules into the compilation target directory