ubuild: fix target pre= and post= execution