Fix possible permission issues when installing Composer