Set cross compile environment for cmake.