Prepare for building gem