compile fixes after api changes
refactor build system: instead of building different static libs for each layer we build object files per layer and bundle those in one static lib (libOSS7STACK.a)