revert usage of M.int for cpp
minor haxe3 fix
compile swc files with latest haxe/svn to get rid of warnings in FB4.7