Added optional dependencies; UTF-8 compilation