I had the same experience of having brass gibs warping after machining, so I did some research on the topic. You can find the discussion and references here :
https://sites.google.com/site/lagadoacademy/machining---lathes-mills-etc/brass---stress-relieving