The -D flag, though useful, is a GNU extension. Instead explicitly create the directory using `install -d` before moving the executable.