Fix gem building