Updating Maxeler code to MaxCompiler 2012.2 (Should also work with 2013.1). Seems to build, not sure if it works...