Refactoring gzip & h264 makefiles for reduce dupliction