Added support for compiling with SDL or SFML drivers independent of emscripten