Add CI build script / fix file perms