Change order of compilation parameters (fix Ubuntu compilation).