fixed some compile issues with the ore generator