fix some build warnings
add sdl include dir properly
backward compatibility
Merge pull request #242 from carstene1ns/fix_warnings

Fix some warnings