Fix some problems related to double append of executable extension under Windows.
Fix some problems related to double append of executable extension under
Windows.


git-svn-id: cb1f56016b938a9eb977ee3833dcaa0292d8bc39@469705 13f79535-47bb-0310-9956-ffa450edef68

apache/lucy-charmonizer,apache/lucy-charmonizer