Small fixes

fixed compilation on Windows platforms
Added some comment in the Python plugins