build: install public headers in the build tree