fixes rPI install_dependencies. Closes #3212