Add licenses information

Fix issue #1150