Library is now compiled with -std=gnu99. Also start introducing bool instead of char