Fixed Python 3.x bug in markup.py

'long' has been deprecated in Python 3.x

See
http://stackoverflow.com/questions/14904814/nameerror-global-name-long-i
s-not-defined