ANN build improvements

ANN builds will now respect $CXX settings and use the macosx-g++ target on Macs.