fix for ubuntu compile