Fixed linux build of pointer tests.