[FIX] fixed fiona issues and mingw warnings