allow delayed imports to handle ImportErrors gracefully