Fix SandBox compilation
Add missing license headers