only install to /etc if PREFIX is /usr or /usr/local
Merge pull request #834 from chocolateboy/install_prefix_fix

only install to /etc if PREFIX is /usr or /usr/local