make compile depend on CopyLibraries