Removed NotImplementedError for MinGW-w64

Closes #3405
Merge pull request #5403 from Juanlu001/patch-1

Remove NotImplementedError for MinGW-w64