Update run length encoder and enable c++11 features with different compiler flag in Makefile