Detect unsupported sleep delay at compile time