Fix Gcc package installation

The LD_LIBRARY_PATH should be set when compilinng Gcc.