fixed compilation in Ubuntu and added notes to readme