Added checks for older libs backward compatibility
close #3