Fixed the ubuntu building doc

Tested on pristine Ubuntu 12.04 LTS and 13.10