fixed a build bug on ubuntu lucid