set demo build target as shared for testing
remove some unnecessary framework links