Fixed issue with "make install"

Before this fix, attempting to "make install" without "make" first
could result in corrupted path in the Plumed.inc/Plumed.cmake
files (the one used to patch MD codes). This resulted in linking
errors when trying to use "plumed patch --shared"