generates a workspace instead of subproject

Initial part of [CB-5921](https://issues.apache.org/jira/browse/CB-5921)
The OTHER_LDFLAGS are not necessary, and should be removed in all the places they appear in this template.