Fix to be enable compile on Ubuntu