xorg-build: fixed and updated debian builds

also try optimized build on ubuntu. To disable use -DUBUNTU_DETECTION=ON