[SNEAKER-63] Fix test compilation failure on OS X