Fix unit tests build on linux platform