Switch to automake
Switch to automake
Don't use OpenMP unless it's available (allows building with clang++)