changes to reduce compiler warnings
load libcapsimage via plugin