Use UTF8 encoding for javac

These modifications were required for building in a http://docker.io/ container.