check for 64-bit compiler
use standard make variables
allow CXXFLAGS to be set without overwriting needed flags
recognize clang in linux
Merge pull request #106 from kytvi2p/fix_makefiles

Makefile updates