Separated build of libraries and utilities using mvn profiles

Signed-off-by: Stephan Wahlbrink <sw@wahlbrink.eu>