Merge pull request #87 from Gaerzi/master

MIDI variants should compile on Linux now
Merge pull request #88 from Gaerzi/master

Sync with my fork.
Merge pull request #89 from Gaerzi/master

PC speaker sound support. Yep.
Merge pull request #90 from Gaerzi/master

Linux
More linux compilation fixes