Small change to allow passing libraries and paths
to apps.