make: print error if make was executed in the root

Fixes #1104, alternative to #1178.