cmake targets, static libs and name refactoring