support fedora mingw
constant STRLEN()
fix building without execvpe()