use lib64 instead of lib for installing on select linux systems (#4789)