Add unbuffered stdout option back in

I added the unbuffered option back in as it is required by a 3rd party project that uses this project (robovm). I couldn't find the reason why this option was removed, so i'm hoping chances are high that this PR gets merged :)