check for missing library in configure script