Fix static lib build define.