Update to have main and global library links