Fixed module compilation for Linux.