Add some forgotten lib prefixes to Makefile variables.