Fixed SDL libraries detection