Portability

- Fixed compiler error for new unit tests.