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"
Merge branch 'v2.0' into v2.1
changelog
Added error message that was missing in grids

(cherry picked from commit ab739533b70f35129e3b0708f9184cd03833e7da)
Merge branch 'v2.0' into v2.1
Merge branch 'v2.1'