Fix `res` for Mavericks (closes #116)