Compile fix for -unittest.