Updated makefile and customised compile.hxml for Rust testing
Changed extern structure to be more Haxe-like