Fix issues with compilers which output '-l <lib>'.