Clear the build dir before configuring.

Remove any lingering files in the build directory, except
for out-test-baseline subdirectories, needed for "make check".