fix compilation when using this LRImageManager in a swift project