Fixed warnings in build definition