cross-compile version for win / linux