gem build tweaks