OS X: fix unit tests compilation