Fixes to compile on DMD 2.063 and GDC-4.8

DMD 1.076 tested and compiles successfully too.
Tested with wxGTK 2.8
Merge pull request #8 from diaasami/master

Fixes to compile on DMD 2.063 and GDC-4.8