Fixes SDL builds for Linux, fixes Mac shared library naming