fix compilation by modify RuntimeLibrary