fix ashton compile on macos 10.9 error