Use stdlib macro for buffer size
Merge pull request #97 from usovalx/fix-buffer-size

Use stdlib macro for buffer size