Make it more portable by letting user disbale `fork()` and `setvbuf()`