Autotoolized the demo build.