Fixed unit test failing to compile on linux