Fix linux build due to calling static function

From non-static functions