Add --no-as-needed to avoid linker errors with new GCC versions used as the linker front end. See #199.