Silence dirname warnings
One too many sysconfdirs
Move all .dll's in $(build_libdir) to $(build_bindir) on windows
Only install shlibs to $(private_libdir) if we're not on Windows