changed from using shutil.copy to .util.copy in codeexport
Changed .util.copy behaviour for copying to symlink that is pointing to the source
Fixed typo
Only add -L and -l directives when linking.