Fix formatting.
Add configure scripts for debug, static binary debug and release targets.