Added preprocessor statement in ringbuffer to prevent include errors
Fixed makefile