Ubuntu 13.04 compilation Fixes

Some corrections to compile on my LinuxMint 16. Same fixes as in luz 1.0