Ensure object directory is created at the compile step (the binary step is too late).