fixed some options needed to build corss directory