renames foundation to core-foundation in order to avoid name conflicts