Remove trailing whitespace
Fix compilation of runtests by adding log.c to the runtest sources