Remove MinGW detection

Remove MinGW detection as msys variable is never used