strip whitespaces from dependency names

Please fix these, because "offline" builds on some package managers fail, thanks!