Make is_bsd a local function