Fixed target dependencies for Ubuntu.