Fixed translation of C open flags to fs_mode_flags.
Added mode to fs_open debugging output.
Added build of libstdc++ to toolchain build.