Fixed build (mainly missing license headers)