change libdir=prefix/lib64 to libdir=/lib64 for centos6.6, not sure why the difference, really