Use GNUInstallDirs.cmake

I don't know if GNU install dirs (e.g. lib64 instead of lib) would be preferred, but here's a PR for changing the install behavior if it is. Thoughts?

Note: This was originally based on HHVM-3.2 branch as [PR #3272](https://github.com/facebook/hhvm/pull/3272)