Remove "-U__GNUC__" flag to avoid incorrect measurements.
Fix some bugs in library_sdl.js and implement some new SDL functions.