[megasync/el7] Changes for epel7 build.