fixed makefile to have exr defined