add basic support for SDL lib.
Merge pull request #232 from ManaPlus/master

add basic support for SDL lib.