check for library version mismatch