controller: lib: build corrections