fixed issue #4 related to properly making ain2 an optional dependency