XT Server fix
Fix up after merge
Merge pull request #2 from Alegend45/master

Linux compilation work merge
PIT mode 3 implemented, it doesn't look like 4 and 5 are used much.