Fixed support for Linux.
Added formatting string.
Merge pull request #1 from SiggiGue/linux-support

Linux support