fixed SDL linking