fixed new image processing library for compilation