80-col violations, whitespace.
Fix building of exes that use TH and profiling.

Fixes #1207. Broken by @dcoutts in 02f8eef1c0592ab90238de29c2fe88ec89c85c2f.

Combined with the hpc fix, this makes all tests pass on my machine.
Merge pull request #1251 from 23Skidoo/failing-tests

Fix building of exes that use TH and profiling.