Use stdint.h for types
Corrections of bugs (compilation errors)