Add a `GetObjectDirectory` method to get the target's object file directory for a specific configuration.