Makefile: added changes to allow building on x86_64 RHEL6