added code to set #defines for MAX_2014 and MAX_2015 detection