Fix compilation on linux

Closes tgoyne/aegisub#4.