remove unneeded frameworks

Remove unneeded frameworks in linking process.