Remove old build systems and make gnu make the default. Clean up makefile and use more sane optimization options.