made samples/wxcore/ImageViewer.hs compilable