Fixed compile error for accessing non-static function from static function