Changing Classes on BuddyPress Site Directory Action Button


I want to change the classes on the action button in the site directory of my WPMU/BP site. The button is rendered by the hook bp_directory_blogs_actions which in functions.php:138 calls bp_blogs_visit_blog_button, located in bp_blogs_template.php:1602

So how do I get in there and change those classes?