makefile: added some optimization flags

Signed-off-by: zwliew <zhaoweiliew@gmail.com>