compile fix for older headers