Unit tests: fix compilation on x86_64

Relates NEMO#701
Merge pull request #89 from martyone/ut

Unit tests: fix compilation on x86_64