Make the selftesting code use and compileable.