Fixed order of loading shared library and language files