rejigged config to use lib as baseUrl
fix build