prior to setting cmake
small cross compiler fix