Build rule modifications to install platform deps.