Move to standard typed

use bool (from <stdbool.h>) instead of bool_t and true/false instead of
TRUE/FALSE
use sized types from <stdint.h> for places where size is important (the
size is no the same allways, for example between 32 bit and 64 bit)