support for building in environments that do not support imshow