generates a workspace instead of subproject

Initial part of [CB-5921](https://issues.apache.org/jira/browse/CB-5921)
@shortstuffsushi the OTHER_LDFLAGS has not been added by me, it was already there