build: replace phony target with .ok file