Work around a bug in xbuild

It always appends .exe even if the assembly already has an extension