Make sure objdir is created when uploading/flashing all at once.

Fixed #18.