remove unused headers
remove unbuildable libs
update propritarie scripts