Base C lib with mac and window