Reorganize optimization defines
Enable x86_64 to skip checking for SSE2
Enable deflate_medium on all archs