use warnings to report import errors. Fixes #86