fix #include path and compile error