one step further, to avoid the endless recursion in the install-debug target.
unsure if that is the right approach. the install now works, but the debug
library is now built in the install step, not in the build step.