1. Re-add the libtoo .la fix on Win32; that was accidentally removed in rev 11013
2. Convert realpath() to canonpath(), which doesn't actually try to resolve things; this is an attempt to fix bug 19647
3. Add -L to the find command on smart platforms, since they can be symlinks, and we still want that to work.