Check Haxe version before compilation

Fixes #31