Support NAMECONSTANT on Python 3.4