Clean up libc references in raw module