reverse order of library refrerences of graphix module (did not work on Ubuntu 12.04). fix in 32/64 bit switch of variant