Update readme and fix compilation