Fix pure C compilation