fix crosscompiling