added indy optimizations to mod build