fix for ubuntu build