Support for new automake paraller test harness

Tested to work on ubuntu saucy 13.10.