fix for future build with cmake