Fix a bug with gem requirements on certain systems