Fixed enum namespace changes

Closes https://github.com/PistonDevelopers/texture-packer/issues/11