--- a/pglast/parser.pyx
+++ b/pglast/parser.pyx
@@ -119,7 +119,7 @@ cdef extern from "pg_query.h" nogil:
     int PG_QUERY_PARSE_DEFAULT
 
 
-cdef extern from "src/pg_query_internal.h" nogil:
+cdef extern from "pg_query/pg_query_internal.h" nogil:
     ctypedef struct PgQueryInternalParsetreeAndError:
         structs.List* tree
         char* stderr_buffer
@@ -146,7 +146,7 @@ cdef extern from "protobuf-c/protobuf-c.
                                                              int value)
 
 
-cdef extern from "protobuf/pg_query.pb-c.h" nogil:
+cdef extern from "pg_query/pg_query.pb-c.h" nogil:
     ctypedef enum PgQuery__Token:
         pass
 
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,8 @@ with (here / 'version.txt').open(encodin
 
 
 LIBPG_QUERY_DIR = str(Path('libpg_query'))
-INCLUDE_DIR = str(Path('libpg_query') / 'src' / 'postgres' / 'include')
+INCLUDE_DIR = '/usr/include/pg_query/postgres'
+#INCLUDE_DIR = subprocess.check_output(["pg_config", "--includedir-server"]).decode().rstrip()
 VENDOR_DIR = str(Path('libpg_query') / 'vendor')
 
 
@@ -74,7 +75,7 @@ setup(
 
     packages=find_packages('.'),
 
-    cmdclass={'build_ext': BuildLibPgQueryFirst},
+    #cmdclass={'build_ext': BuildLibPgQueryFirst},
     ext_modules=cythonize([
         Extension('pglast.parser', [extension_source],
                   libraries=['pg_query'],
