Сorrected permissions and fix errors on build GL3