Fix dependencies and is-debug?