Modified for GCC-4.8 Compiling