Update the build system for benchmark engines.

This allows building the engines selectively. The benchmarking tools only build
engines selected.
Miscellaneous cleaning of the build system and tools.
Create a build target for checking out the flot js library.