fix for future cmake build