Fix gem building warnings