update makeprg before write buf, since we suggest autobuild after write buf with BufWritePost
Don't update makeprg on BufWritePost

It's already being ran on BufWritePre, so don't do it twice