kill 9 warnings when compile on OS X 10.9