explicitly disable FP exceptions on OSX. nightly build started defining GNU_SOURCE for some reason
fix some autotools build errors and warnings