Fix module compilation