readme and license do not contain markdown
fix warnings from gcc
minor build changes