Extract oscompat.c