libtool: remove any references to private headers from text code

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>