Improved find_lib, gets the latest version of libpng, etc.
Updated configure