added -O2 optimization
customized config.h for my needs