Makefile now builds on Mac OS X with Xcode's clang and Linux systems with clang-3.4 and libcxx
Fixed some compiler warnings