Install instructions

Also changed perf compiler to gcc, and minor
code changes to make it work.