Support building with SDL 2.x.
amidi-plug: Don't assume shared libraries end in .so.