Fix OSX building of SDL frontend.