* replaced strlcpy calls by strncpy calls, since strlcpy is not part of the gnu c library
 * added <stdbool.h> include