better handling of missing library files