make it compile under Mavericks