[Bug 10360] Configure is not linking to libhal or libpng12 even after providing .so symlinks