Fix isMounted extern declaration