Fixed install scripts(permissions of headers and libs)