add endianess test
add generation of config.h