fix nginx compile error