link to transitive external libraries
add support for linking in foreign libraries
get rid of example app