fixed problem with 'boolean' typedef when compiling with MinGW environment