Changed copy of DevIL dlls from post to pre event.