Fix building with maven (compile issue and missing jar), also a fix when configuring the system for the first time