build: allow EXTRA_FLAGS to add compile options