Fix missing UTF-8 conversion static.cpp.

This caused the Windows build to fail, see

http://smc.quintilianus.eu/topics/50#p268