Fix native module compilation