Fix issue with building gem