Add missing debug library references

* From #460