makefile: Added 4.8.x optimizations