build: fixing earlier fix on generating and installing headers.