Autotools: Fix library linking configuration and remove forced --no-as-needed (#77)