Fix gem build issue