fix compile error for mac (rm mod_partition.so and mod_io.so temporarily).