check-libtool-deps: use consistent quoting

Fixes spurious dependency errors