fixes for visualc++ 2013 and cmake script fix when building openexr as dll