Fixed licensing and compilation error