Fixed compilation warning on GCC
Updated build requirements for Ubuntu
Added scripts for Ubuntu packaging.