Fixed a make error on Ubuntu 12.04