Support for gcc 4.8 on Arch Linux

These commits allows compiling Build Gear on Arch Linux with gcc 4.8