Fix: get_buf_pointers() should be static on non-windows platform

Signed-off-by: Christian Babeux <christian.babeux@0x80.ca>