Fix cyclone5 build by supplying patched image class