Don't think this is a problem with WSL, more likely a problem with MXE (which is completely alien to me, so can't offer much help there)
Little confused why you're calling a mingw script in WSL (which is for all intents and purposes a linux system) too?