Change version to 2.5.0
Fix a bug on Windows which cause a crash.