Use global $wp_roles instead of $_GLOBALS['wp_roles']

Possible fix for #468 .