Fixed build issue on Ubuntu.