Avoid linking error with newest boost and c++11
Disable compilation of key.cpp when building against SDL2

The file causes error and is not necessary with SDL2
Show SDL error when failing to load an image