add a platform restriction to Pants Build