fixed Ubuntu compile