build: added public_headers support