Fix issue with building gem

`capybara` is a dependency of `mas-development_dependencies` not `mas-build`, does it need to be inside the conditional?