check for 64-bit compiler
use standard make variables
allow CXXFLAGS to be set without overwriting needed flags
recognize clang in linux