more algo optimization

added x11 compiler options to more algo's