Fix ignore flag test for mac.